/**
 * Created by admin on 2017/2/10.
 * https://segmentfault.com/a/1190000003810652
 * fetch
 */
fetch('./package.json').then(response => response.json())
    .then(data => console.log(data))
    .catch(e => console.log("Oops, error", e));